package com.eastcode.mobile.client.action;

import java.util.logging.Logger;

import com.eastcode.base.action.BaseAction;
import com.eastcode.mobile.server.util.ServerConstant;

public class LogoutAction extends BaseAction {

	private static final long serialVersionUID = 2641505428202850821L;

	Logger log = Logger.getLogger(this.getClass().getName());

	@Override
	protected void execute() {
		request.getSession().removeAttribute(ServerConstant.SYS_USER);
		forward("/template/login.ftl");
	}

}
